<?php
declare(strict_types = 1);

namespace vinchan\encryption\Kernel;

interface FactoryInterface
{
	/**
	 * [加密]
	 * @param  string $data [description]
	 * @return [type]       [description]
	 */
	public function encrypt(string $data):string;

	/**
	 * [解密]
	 * @param  string $data [description]
	 * @return [type]       [description]
	 */
	public function decrypt(string $data):string;
}
